package io.renren.service;


import io.renren.common.page.PageData;
import io.renren.common.service.CrudService;
import io.renren.dto.*;
import io.renren.entity.AutorepairmEntity;

import java.util.Map;

/**
 * ${comments}
 *
 * @author Sen 524227263@qq.com
 * @since 1.0.0 2024-05-28
 */
public interface AutorepairmService extends CrudService<AutorepairmEntity, AutorepairmDTO> {

    Map<String, Object> myAutoServiceList(String traderMOID, String autoOID, Integer page, Integer pageSize);

    Map<String, Object> serviceProgress(String traderMOID, BusinessKeyDto dto);

    Map<String, Object> autoRepairDetail(String traderMOID, RepairDetailDto dto);

    Map<String, Object> autoReturnRepairDetail(String traderMOID, ReturnRepairDetailDto dto);

    Map<String, Object> autoBaoYangDetail(String traderMOID, BaoYangDetailDto dto);

    AutorepairmEntity findInfoById(String sourceBillOID);
}